#define _CRT_SECURE_NO_WARNINGS 1
#include"sort.h"




void TestInsertSort(int* a, int n)
{
	InsertSort(a, n);
	PrintArray(a, n);
}

void TestShellSort(int* a, int n)
{
	ShellSort(a, n);
	//PrintArray(a, n);
}


int main()
{
	int a[] = { 0,6,9,66,12,35,6,4,1,2,8,7,-1,-2,-3,-9,-8,-7,-6};
	//TestInsertSort(a, sizeof(a) / sizeof(int));
	TestShellSort(a, sizeof(a) / sizeof(int));
}